package DBLayer;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import ModelLayer.RegularDayOff;

public class DBRegularDayOffTest {
	private IFDBRegularDayOff dbRegDayOff;
	
	@Before
	public void setUp() throws Exception {
		dbRegDayOff = new DBRegularDayOff();
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testGetRegDayOff() {
		try
		{
			RegularDayOff regDayOff = dbRegDayOff.getRegDayOff(1, "monday");
			
			if(regDayOff != null)
			{
				System.out.println(regDayOff.getId());
			}
		}
		catch(Exception err)
		{
			fail("Not yet implemented");
		}
	}
}
